import { Directive, ElementRef ,Renderer} from '@angular/core';

@Directive({
  selector: '[InputFocus]'
})
export class InputFocusDirective {
    constructor(el: ElementRef,renderer:Renderer) {
    	el.nativeElement.click();
    }
}